import Vue from 'vue'
import App from './App'
// import store from './store' // store
import plugins from './plugins' // plugins
// import './permission' // permission
Vue.use(plugins)
//项目配置
import config from "./config.js"
Vue.prototype.$appConfig = config.appConfig

// 接口api
import Api from "./api"
Vue.prototype.$Api = Api

//全局过滤器
// import * as filterFun from '@/utils/filterFun.js'
// Object.keys(filterFun).forEach(key => {
// 	Vue.filter(key, filterFun[key])
// })

//引入 uView
import uView from '@/uni_modules/uview-ui';
Vue.use(uView);


Vue.config.productionTip = false
// Vue.prototype.$store = store

App.mpType = 'app'

const app = new Vue({
  ...App
})

app.$mount()
// 设置全局数据
app.globalData = {
  firstCode: 927360369,
  secondCode: 213261619
}